/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="FECHAMENTOS")
public class FechamentosProteu implements Serializable{

    @Id
    @Column(name="CXF_ST_CODIGO")
    private String cxfStCodigo;
    @Column(name="CXF_IN_QTD_PARCELAS")
    private Integer cxfInQtdParcelas;
    @Column(name="PAC_ST_RG")
    private String pacStRg;
    @Column(name="PAC_ST_NOME")
    private String pacStNome;
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="CXF_CH_FORMA_PAGTO")
    private String cxfChFormaPagto;
    @Column(name="CXF_DT_PAGAMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date cxfDtPagamento;
    @Column(name="CXF_FL_VALOR")
    private Float cxfFlValor;
    @Column(name="BAN_ST_CODIGO")
    private String banStCodigo;
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="CON_ST_CODIGO")
    private String conStCodigo;
    @Column(name="CON_ST_PLA_CODIGO")
    private String conStPlaCodigo;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="CXF_FL_DVLR_RECEBIDO")
    private Float cxfFlDvlrRecebido;
    @Column(name="CXF_FL_VALOR_TOTAL")
    private Float cxfFlValorTotal;
    @Column(name="CXF_FL_DDESCONTO")
    private Float cxfFlDdesconto;
    @Column(name="CXF_FL_DTROCO")
    private Float cxfFlDtroco;
    @Column(name="CXF_ST_HNUM_CHEQUE")
    private String cxfStHnumCheque;
    @Column(name="CXF_IN_HNUM_PARCELAS")
    private Integer cxfInHnumParcelas;
    @Column(name="CXF_DT_HVENCIMENTO")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date cxfDtHvencimento;
    @Column(name="CXF_ST_HAGENCIA")
    private String cxfStHagencia;
    @Column(name="CXF_ST_HCONTA")
    private String cxfStHconta;
    @Column(name="UNI_IN_CODIGO")
    private Integer uniInCodigo;
    @Column(name="ESC_ST_CODIGO")
    private String escStCodigo;


    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getBanStCodigo() {
        return banStCodigo;
    }

    public void setBanStCodigo(String banStCodigo) {
        this.banStCodigo = banStCodigo;
    }

    public String getConStCodigo() {
        return conStCodigo;
    }

    public void setConStCodigo(String conStCodigo) {
        this.conStCodigo = conStCodigo;
    }

    public String getConStPlaCodigo() {
        return conStPlaCodigo;
    }

    public void setConStPlaCodigo(String conStPlaCodigo) {
        this.conStPlaCodigo = conStPlaCodigo;
    }

    public String getCxfChFormaPagto() {
        return cxfChFormaPagto;
    }

    public void setCxfChFormaPagto(String cxfChFormaPagto) {
        this.cxfChFormaPagto = cxfChFormaPagto;
    }

    public Date getCxfDtHvencimento() {
        return cxfDtHvencimento;
    }

    public void setCxfDtHvencimento(Date cxfDtHvencimento) {
        this.cxfDtHvencimento = cxfDtHvencimento;
    }

    public Date getCxfDtPagamento() {
        return cxfDtPagamento;
    }

    public void setCxfDtPagamento(Date cxfDtPagamento) {
        this.cxfDtPagamento = cxfDtPagamento;
    }

    public Float getCxfFlDdesconto() {
        return cxfFlDdesconto;
    }

    public void setCxfFlDdesconto(Float cxfFlDdesconto) {
        this.cxfFlDdesconto = cxfFlDdesconto;
    }

    public Float getCxfFlDtroco() {
        return cxfFlDtroco;
    }

    public void setCxfFlDtroco(Float cxfFlDtroco) {
        this.cxfFlDtroco = cxfFlDtroco;
    }

    public Float getCxfFlDvlrRecebido() {
        return cxfFlDvlrRecebido;
    }

    public void setCxfFlDvlrRecebido(Float cxfFlDvlrRecebido) {
        this.cxfFlDvlrRecebido = cxfFlDvlrRecebido;
    }

    public Float getCxfFlValor() {
        return cxfFlValor;
    }

    public void setCxfFlValor(Float cxfFlValor) {
        this.cxfFlValor = cxfFlValor;
    }

    public Float getCxfFlValorTotal() {
        return cxfFlValorTotal;
    }

    public void setCxfFlValorTotal(Float cxfFlValorTotal) {
        this.cxfFlValorTotal = cxfFlValorTotal;
    }

    public Integer getCxfInHnumParcelas() {
        return cxfInHnumParcelas;
    }

    public void setCxfInHnumParcelas(Integer cxfInHnumParcelas) {
        this.cxfInHnumParcelas = cxfInHnumParcelas;
    }

    public Integer getCxfInQtdParcelas() {
        return cxfInQtdParcelas;
    }

    public void setCxfInQtdParcelas(Integer cxfInQtdParcelas) {
        this.cxfInQtdParcelas = cxfInQtdParcelas;
    }

    public String getCxfStCodigo() {
        return cxfStCodigo;
    }

    public void setCxfStCodigo(String cxfStCodigo) {
        this.cxfStCodigo = cxfStCodigo;
    }

    public String getCxfStHagencia() {
        return cxfStHagencia;
    }

    public void setCxfStHagencia(String cxfStHagencia) {
        this.cxfStHagencia = cxfStHagencia;
    }

    public String getCxfStHconta() {
        return cxfStHconta;
    }

    public void setCxfStHconta(String cxfStHconta) {
        this.cxfStHconta = cxfStHconta;
    }

    public String getCxfStHnumCheque() {
        return cxfStHnumCheque;
    }

    public void setCxfStHnumCheque(String cxfStHnumCheque) {
        this.cxfStHnumCheque = cxfStHnumCheque;
    }

    public String getEscStCodigo() {
        return escStCodigo;
    }

    public void setEscStCodigo(String escStCodigo) {
        this.escStCodigo = escStCodigo;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getPacStNome() {
        return pacStNome;
    }

    public void setPacStNome(String pacStNome) {
        this.pacStNome = pacStNome;
    }

    public String getPacStRg() {
        return pacStRg;
    }

    public void setPacStRg(String pacStRg) {
        this.pacStRg = pacStRg;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public Integer getUniInCodigo() {
        return uniInCodigo;
    }

    public void setUniInCodigo(Integer uniInCodigo) {
        this.uniInCodigo = uniInCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final FechamentosProteu other = (FechamentosProteu) obj;
        if ((this.cxfStCodigo == null) ? (other.cxfStCodigo != null) : !this.cxfStCodigo.equals(other.cxfStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 67 * hash + (this.cxfStCodigo != null ? this.cxfStCodigo.hashCode() : 0);
        return hash;
    }



}
